﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sabnzbd
{
    internal class SabINISettingGroup
    {
        private List<KeyValuePair<string, string>> m_Settings;
        private List<SabINISettingSubGroup> m_SubGroups;
        private string m_Name;

        public string Name
        {
            get { return m_Name; }
        }

        public List<SabINISettingSubGroup> SubGroups
        {
            get { return m_SubGroups; }
        }

        public SabINISettingGroup(string name)
        {
            m_Name = name;
            m_Settings = new List<KeyValuePair<string, string>>();
            m_SubGroups = new List<SabINISettingSubGroup>();
            m_Groups = new List<SabINISettingGroup>();
        }

        public List<KeyValuePair<string, string>> Settings
        {
            get { return m_Settings; }
        }

        private List<SabINISettingGroup> m_Groups;

        public List<SabINISettingGroup> Groups
        {
            get { return m_Groups; }
        }

        public override string ToString()
        {
            return this.Name;
        }
    }
}
